package org.jeecg.modules.bigdatashow.service.impl;

import org.jeecg.modules.bigdatashow.entity.Common;
import org.jeecg.modules.bigdatashow.entity.Weather;
import org.jeecg.modules.bigdatashow.mapper.WeatherTimeMapper;
import org.jeecg.modules.bigdatashow.service.WeatherTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WeatherTimeServiceImpl implements WeatherTimeService {
    @Autowired
    private WeatherTimeMapper weatherTimeMapper;
    @Override
    public List<Weather> findWeather() {
        return weatherTimeMapper.findWeather();
    }

    @Override
    public List<Common> findTime() {
        return weatherTimeMapper.findTime();
    }
}
